package jge;

public class Animation {
    
    // List of all sprites in animation
    private Sprite[] sprites;
    
    // Number of frames in animation
    private int frameNumber;
    
    // Time for the animation to play
    private double t;
    
    // Time for one frame
    private double tf;
    
    public Animation(Sprite[] spritelist,double totaltime) {
        this.sprites = spritelist;
        this.frameNumber = spritelist.length;
        this.t = totaltime;
        this.tf = totaltime/spritelist.length;
    }
    
    public void play() {
        
    }
    

}